package com.aaa.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class tbl_test_plan_sas {
 int id;
 String test_name;
 int test_code;
 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
//从页面传值到controller的时候，自动解析字符串日期到date
 @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
 Date test_begin;
 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
//从页面传值到controller的时候，自动解析字符串日期到date
 @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
 Date test_end;
 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
//从页面传值到controller的时候，自动解析字符串日期到date
 @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
 Date create_time;
 String create_by;
 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
//从页面传值到controller的时候，自动解析字符串日期到date
 @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
 Date update_time;
 String update_by;
 String remark;
 String type;

 public int getId() {
  return id;
 }

 public void setId(int id) {
  this.id = id;
 }

 public String getTest_name() {
  return test_name;
 }

 public void setTest_name(String test_name) {
  this.test_name = test_name;
 }

 public int getTest_code() {
  return test_code;
 }

 public void setTest_code(int test_code) {
  this.test_code = test_code;
 }

 public Date getTest_begin() {
  return test_begin;
 }

 public void setTest_begin(Date test_begin) {
  this.test_begin = test_begin;
 }

 public Date getTest_end() {
  return test_end;
 }

 public void setTest_end(Date test_end) {
  this.test_end = test_end;
 }

 public Date getCreate_time() {
  return create_time;
 }

 public void setCreate_time(Date create_time) {
  this.create_time = create_time;
 }

 public String getCreate_by() {
  return create_by;
 }

 public void setCreate_by(String create_by) {
  this.create_by = create_by;
 }

 public Date getUpdate_time() {
  return update_time;
 }

 public void setUpdate_time(Date update_time) {
  this.update_time = update_time;
 }

 public String getUpdate_by() {
  return update_by;
 }

 public void setUpdate_by(String update_by) {
  this.update_by = update_by;
 }

 public String getRemark() {
  return remark;
 }

 public void setRemark(String remark) {
  this.remark = remark;
 }

 public String getType() {
  return type;
 }

 public void setType(String type) {
  this.type = type;
 }

 @Override
 public String toString() {
  return "tbl_test_plan_sas{" +
          "id=" + id +
          ", test_name='" + test_name + '\'' +
          ", test_code=" + test_code +
          ", test_begin=" + test_begin +
          ", test_end=" + test_end +
          ", create_time=" + create_time +
          ", create_by='" + create_by + '\'' +
          ", update_time=" + update_time +
          ", update_by='" + update_by + '\'' +
          ", remark='" + remark + '\'' +
          ", type='" + type + '\'' +
          '}';
 }

 public tbl_test_plan_sas() {
 }

 public tbl_test_plan_sas(int id, String test_name, int test_code, Date test_begin, Date test_end, Date create_time, String create_by, Date update_time, String update_by, String remark, String type) {
  this.id = id;
  this.test_name = test_name;
  this.test_code = test_code;
  this.test_begin = test_begin;
  this.test_end = test_end;
  this.create_time = create_time;
  this.create_by = create_by;
  this.update_time = update_time;
  this.update_by = update_by;
  this.remark = remark;
  this.type = type;
 }
}
